home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3s / fwprintf.z / fwprintf
Encoding:
Text File  |  2002-10-03  |  27.4 KB  |  461 lines

  1.  
  2.  
  3.  
  4. ffffwwwwpppprrrriiiinnnnttttffff((((3333SSSS))))                                                      ffffwwwwpppprrrriiiinnnnttttffff((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _ffff_wwww_pppp_rrrr_iiii_nnnn_tttt_ffff_:::: _ffff_wwww_pppp_rrrr_iiii_nnnn_tttt_ffff_,,,, _wwww_pppp_rrrr_iiii_nnnn_tttt_ffff_,,,, _ssss_wwww_pppp_rrrr_iiii_nnnn_tttt_ffff - print formatted wide-character
  10.      output
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_tttt_dddd_iiii_oooo_...._hhhh_>>>>
  14.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_wwww_cccc_hhhh_aaaa_rrrr_...._hhhh_>>>>
  15.      _iiii_nnnn_tttt _ffff_wwww_pppp_rrrr_iiii_nnnn_tttt_ffff_((((_FFFF_IIII_LLLL_EEEE _****_ssss_tttt_rrrr_eeee_aaaa_mmmm_,,,, _cccc_oooo_nnnn_ssss_tttt _wwww_cccc_hhhh_aaaa_rrrr______tttt _****_ffff_oooo_rrrr_mmmm_aaaa_tttt_,,,, _...._...._...._))))_;;;;
  16.      _iiii_nnnn_tttt _wwww_pppp_rrrr_iiii_nnnn_tttt_ffff_((((_cccc_oooo_nnnn_ssss_tttt _wwww_cccc_hhhh_aaaa_rrrr______tttt _****_ffff_oooo_rrrr_mmmm_aaaa_tttt_,,,, _...._...._...._))))_;;;;
  17.      _iiii_nnnn_tttt _ssss_wwww_pppp_rrrr_iiii_nnnn_tttt_ffff_((((_wwww_cccc_hhhh_aaaa_rrrr______tttt _****_ssss_,,,, _ssss_iiii_zzzz_eeee______tttt _nnnn_,,,, _cccc_oooo_nnnn_ssss_tttt _wwww_cccc_hhhh_aaaa_rrrr______tttt _****_ffff_oooo_rrrr_mmmm_aaaa_tttt_,,,, _...._...._...._))))_;;;;
  18.  
  19. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  20.      _ffff_wwww_pppp_rrrr_iiii_nnnn_tttt_ffff places output on the named output _s_t_r_e_a_m.
  21.  
  22.      _wwww_pppp_rrrr_iiii_nnnn_tttt_ffff places output on _ssss_tttt_dddd_oooo_uuuu_tttt.
  23.  
  24.      _ssss_wwww_pppp_rrrr_iiii_nnnn_tttt_ffff places output, followed by a null wide-character in consecutive
  25.      wide-characters starting at *_s; no more than _n wide-characters are
  26.      written, including a terminating null wide-character, which is always
  27.      added (unless n is zero).
  28.  
  29.      Each function returns the number of wide-characters transmitted (not
  30.      including the terminating null character in the case of _ssss_wwww_pppp_rrrr_iiii_nnnn_tttt_ffff), or a
  31.      negative value if an output error was encountered.  If n or more wide-
  32.      characters were requested to be written _ssss_wwww_pppp_rrrr_iiii_nnnn_tttt_ffff returns a negative
  33.      value.
  34.  
  35.      Each of these functions converts, formats, and prints its _a_r_g_s under
  36.      control of the _f_o_r_m_a_t wide-character string.  The results are undefined
  37.      if there are insufficient arguments for the format.  If the format is
  38.      exhausted while arguments remain, the excess arguments are simply
  39.      ignored.
  40.  
  41.      The _f_o_r_m_a_t is a wide-character string that contains two types of objects
  42.      defined below:
  43.  
  44.           1.  ordinary wide-characters, which are simply copied to the output
  45.               stream;
  46.  
  47.           2.  conversion specifications.
  48.  
  49.      All forms of the _ffff_wwww_pppp_rrrr_iiii_nnnn_tttt_ffff functions allow for the insertion of a
  50.      language-dependent decimal-point character.  The decimal-point character
  51.      is defined by the program's locale (category _LLLL_CCCC______NNNN_UUUU_MMMM_EEEE_RRRR_IIII_CCCC).  In the _""""_CCCC_""""
  52.      locale, or in a locale where the decimal-point character is not defined,
  53.      the decimal-point character defaults to a period (_....).
  54.  
  55.      Each conversion specification is introduced by the character _%%%%, and takes
  56.      the following general form and sequence:
  57.  
  58.  
  59.  
  60.                                                                         PPPPaaaaggggeeee 1111
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67. ffffwwwwpppprrrriiiinnnnttttffff((((3333SSSS))))                                                      ffffwwwwpppprrrriiiinnnnttttffff((((3333SSSS))))
  68.  
  69.  
  70.  
  71.           _%%%%[_p_o_s_p_$$$$][_f_l_a_g_s][_w_i_d_t_h][_...._p_r_e_c_i_s_i_o_n][_s_i_z_e]_f_m_t
  72.  
  73.      _p_o_s_p_$$$$ An optional entry, consisting of one or more decimal digits
  74.            followed by a _$$$$ character, specifying the number of the next _a_r_g to
  75.            access.  The first _a_r_g (just after _f_o_r_m_a_t) is numbered 1.  If this
  76.            field is not specified, the _a_r_g following the most recently used
  77.            _a_r_g will be used.
  78.  
  79.      _f_l_a_g_s Zero or more characters that modify the meaning of the conversion
  80.            specification.  The _f_l_a_g characters and their meanings are:
  81.  
  82.            _''''    The integer portion of the result of a decimal conversion (for
  83.                 _iiii, _dddd, _uuuu, _ffff, _gggg, or _GGGG conversions) will be formatted with the
  84.                 thousands' grouping characters.  The non-monetary grouping
  85.                 character will be used.
  86.  
  87.            _----    The result of the conversion will be left-justified within the
  88.                 field.  (It will be right-justified if this flag is not
  89.                 specified.)
  90.  
  91.            _++++    The result of a signed conversion will always begin with a
  92.                 sign (+ or -).  (It will begin with a sign only when a
  93.                 negative value is converted if this flag is not specified.)
  94.  
  95.            _s_p_a_c_e
  96.                 If the first wide-character of a signed conversion is not a
  97.                 sign, or if a signed conversion results in no characters, a
  98.                 space will be prefixed to the result.  If the _s_p_a_c_e and +
  99.                 flags both appear, the _s_p_a_c_e flag will be ignored.
  100.  
  101.            _####    The value is to be converted to an alternate form.  For an _oooo
  102.                 conversion, it increases the precision (if necessary) to force
  103.                 the first digit of the result to be a zero.  For _xxxx (or _XXXX)
  104.                 conversion, a nonzero result will have _0000_xxxx (or _0000_XXXX) prefixed to
  105.                 it.  For _eeee, _EEEE, _ffff, _gggg, and _GGGG conversions, the result will always
  106.                 contain a decimal-point character, even if no digits follow
  107.                 it.  (Normally, a decimal point appears in the result of these
  108.                 conversions only if a digit follows it.)  For _gggg and _GGGG
  109.                 conversions, trailing zeros will not be removed from the
  110.                 result (as they normally are).  For _cccc, _dddd, _iiii, _ssss, and _uuuu
  111.                 conversions, the flag has no effect.
  112.  
  113.            _0000    For _dddd, _iiii, _oooo, _uuuu, _xxxx, _XXXX, _eeee, _EEEE, _ffff, _gggg, and _GGGG conversions, leading
  114.                 zeros (following any indication of sign or base) are used to
  115.                 pad to the field width; no space padding is performed.  If the
  116.                 _0000 and _---- flags both appear, the _0000 flag will be ignored.  For _dddd,
  117.                 _iiii, _oooo, _uuuu, _xxxx, and _XXXX conversions, if a precision is specified,
  118.                 the _0000 flag will be ignored.  If the _0000 and _'''' flags both appear,
  119.                 the grouping wide-characters are inserted before zero padding.
  120.                 For other conversions, the behavior is undefined.
  121.  
  122.  
  123.  
  124.  
  125.  
  126.                                                                         PPPPaaaaggggeeee 2222
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133. ffffwwwwpppprrrriiiinnnnttttffff((((3333SSSS))))                                                      ffffwwwwpppprrrriiiinnnnttttffff((((3333SSSS))))
  134.  
  135.  
  136.  
  137.      _w_i_d_t_h An optional entry that consists of either one or more decimal
  138.            digits, or an asterisk (_****), or an asterisk followed by one or more
  139.            decimal digits and a _$$$$.  It specifies the minimum field width:  If
  140.            the converted value has fewer wide-characters than the field width,
  141.            it will be padded (with space by default) on the left or right (see
  142.            the above _f_l_a_g_s description) to the field width.
  143.  
  144.      _...._p_r_e_c An optional entry that consists of a period (_....) followed by either
  145.            zero or more decimal digits, or an asterisk (_****), or an asterisk
  146.            followed by one or more decimal digits and a _$$$$.  It specifies the
  147.            minimum number of digits to appear for the _dddd, _iiii, _oooo, _uuuu, _xxxx, and _XXXX
  148.            conversions, the number of digits to appear after the decimal-point
  149.            character for the _eeee, _EEEE, and _ffff conversions, the maximum number of
  150.            significant digits for the _gggg and _GGGG conversions, or the maximum
  151.            number of wide-characters to be written from a string for an _ssss
  152.            conversion.  For other conversions, the behavior is undefined.  If
  153.            only a period is specified, the precision is taken as zero.
  154.  
  155.      _s_i_z_e  An optional _llll (ell) specifies that a following c conversion wide-
  156.            character applies to a wint_t argument; an optional _llll (ell)
  157.            specifies that a following s conversion wide-character applies to a
  158.            wchar_t argument; an optional _hhhh specifies that a following _dddd_,,,, _iiii, _oooo,
  159.            _uuuu,_xxxx or _XXXX conversion wide-character applies to a type short int or
  160.            type unsigned short int argument (the argument will have been
  161.            promoted according to the integral promotions, and its value will
  162.            be converted to type short int or unsigned short int before
  163.            printing); an optional _hhhh specifies that a following _nnnn conversion
  164.            wide-character applies to a pointer to a type short int argument;
  165.            an optional _llll (ell) specifies that a following _dddd, _iiii, _oooo, _uuuu, _xxxx or _XXXX
  166.            conversion wide-character applies to a type long int or unsigned
  167.            long int argument; an optional _llll (ell) specifies that a following _nnnn
  168.            conversion wide-character applies to a pointer to a type long int
  169.            argument; or an optional _LLLL specifies that a following _eeee, _EEEE, _ffff, _gggg or
  170.            _GGGG conversion wide-character applies to a type long double argument.
  171.            If an h, l or L appears with any other conversion wide-character,
  172.            the behaviour is undefined.  If a _s_i_z_e appears other than in the
  173.            following combinations, the behavior is undefined.
  174.  
  175.      _f_m_t   A conversion wide-character (described below) that indicates the
  176.            type of conversion to be applied.
  177.  
  178.      When a _w_i_d_t_h or _...._p_r_e_c includes an asterisk (_****), an _iiii_nnnn_tttt _a_r_g supplies the
  179.      width or precision.  When they do not include a _$$$$, the arguments
  180.      specifying a field width, or precision, or both must appear (in that
  181.      order) before the argument (if any) to be converted.  If the conversion
  182.      specification includes _p_o_s_p_$$$$, the field width and precision may include a
  183.      _$$$$.  The decimal digits that precede the _$$$$ similarly specify the number of
  184.      the _a_r_g that contains the field width or precision.  (In this case, _p_o_s_p_$$$$
  185.      specifies the number of the _a_r_g to convert.)  A negative field width
  186.      argument is taken as a _---- flag followed by a positive field width.  If the
  187.      precision argument is negative, it will be taken as zero.
  188.  
  189.  
  190.  
  191.  
  192.                                                                         PPPPaaaaggggeeee 3333
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199. ffffwwwwpppprrrriiiinnnnttttffff((((3333SSSS))))                                                      ffffwwwwpppprrrriiiinnnnttttffff((((3333SSSS))))
  200.  
  201.  
  202.  
  203.      When numbered argument specifications are used, specifying the _Nth
  204.      argument requires that all the leading arguments, from the first to the
  205.      (_N-1)th, be specified at least once, in a consistent manner in the format
  206.      string.
  207.  
  208.      The conversion characters and their meanings are:
  209.  
  210.      _dddd, _iiii The integer _a_r_g is converted to signed decimal.  The precision
  211.           specifies the minimum number of digits to appear; if the value being
  212.           converted can be represented in fewer digits, it will be expanded
  213.           with leading zeros.  The default precision is 1.  The result of
  214.           converting a zero value with a precision of zero is no characters.
  215.  
  216.      _oooo, _uuuu, _xxxx, _XXXX
  217.           The unsigned integer _a_r_g is converted to unsigned octal (_oooo),
  218.           unsigned decimal (_uuuu), or unsigned hexadecimal notation (_xxxx and _XXXX).
  219.           The _xxxx conversion uses the letters _aaaa_bbbb_cccc_dddd_eeee_ffff and the _XXXX conversion uses
  220.           the letters _AAAA_BBBB_CCCC_DDDD_EEEE_FFFF.  The precision specifies the minimum number of
  221.           digits to appear; if the value being converted can be represented in
  222.           fewer digits, it will be expanded with leading zeros.  The default
  223.           precision is 1.  The result of converting a zero value with a
  224.           precision of zero is no characters.
  225.  
  226.      _ffff    The floating _a_r_g is converted to decimal notation in the style
  227.           _[[[[_----_]]]]_d_d_d_...._d_d_d, where the number of digits after the decimal-point
  228.           character [see _ssss_eeee_tttt_llll_oooo_cccc_aaaa_llll_eeee(3C)] is equal to the precision
  229.           specification.  If the precision is missing, it is taken as 6; if
  230.           the precision is zero and the _#### flag is not specified, no decimal-
  231.           point character appears.  If a decimal-point character appears, at
  232.           least one digit appears before it.  The value is rounded to the
  233.           appropriate number of digits.  The fwprintf() family of functions
  234.           may make available wide-character string representations for
  235.           infinity and NaN.
  236.  
  237.      _eeee, _EEEE The double _a_r_g is converted to the style _[[[[_----_]]]]_d_...._d_d_d_eeee+__d_d, where there
  238.           is one digit before the decimal-point character (which is nonzero if
  239.           the argument is nonzero) and the number of digits after it is equal
  240.           to the precision.  If the precision is missing, it is taken as 6; if
  241.           the precision is zero and the _#### flag is not specified, no decimal-
  242.           point character appears.  The value is rounded to the appropriate
  243.           number of digits.  The _EEEE conversion wide-character will produce a
  244.           number with _EEEE instead of _eeee introducing the exponent.  The exponent
  245.           always contains at least two digits.  If the value is zero, the
  246.           exponent is zero.
  247.  
  248.      _gggg, _GGGG The double argument is converted in the style _ffff or _eeee (or in the
  249.           style _EEEE in the case of a _GGGG conversion wide-character), with the
  250.           precision specifying the number of significant digits. If an
  251.           explicit precision is 0, it is taken as 1. The style used depends on
  252.           the value converted; style _eeee (or _EEEE) will be used only if the
  253.           exponent resulting from such a conversion is less than -4 or greater
  254.           than or equal to the precision. Trailing zeros are removed from the
  255.  
  256.  
  257.  
  258.                                                                         PPPPaaaaggggeeee 4444
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265. ffffwwwwpppprrrriiiinnnnttttffff((((3333SSSS))))                                                      ffffwwwwpppprrrriiiinnnnttttffff((((3333SSSS))))
  266.  
  267.  
  268.  
  269.           fractional portion of the result; a radix character appears only if
  270.           it is followed by a digit. The _ffff_wwww_pppp_rrrr_iiii_nnnn_tttt_ffff family of functions may make
  271.           available wide-character string representations for infinity and
  272.           NaN.
  273.  
  274.      _cccc    If no _llll _((((_eeee_llll_llll_)))) qualifier is present, the int argument is converted to
  275.           a wide-character as if by calling the _bbbb_tttt_oooo_wwww_cccc_((((_)))) function and the
  276.           resulting wide-character is written. Otherwise the wint_t argument
  277.           is converted to wchar_t and written.
  278.  
  279.      _CCCC    _a_r_g is interpreted as a _wwww_cccc_hhhh_aaaa_rrrr______tttt, converted to a multi-byte sequence,
  280.           and the resulting byte(s) are written.
  281.  
  282.      _ssss    If no _llll _((((_eeee_llll_llll_)))) qualifier is present, the argument must be a pointer
  283.           to a character array containing a character sequence beginning in
  284.           the initial shift state. Characters from the array are converted as
  285.           if by repeated calls to the _mmmm_bbbb_rrrr_tttt_oooo_wwww_cccc_((((_)))) function, with the conversion
  286.           state described by an mbstate_t object initialised to zero before
  287.           the first character is converted, and written up to (but not
  288.           including) the terminating null wide-character. If the precision is
  289.           specified, no more than that many wide-characters are written. If
  290.           the precision is not specified or is greater than the size of the
  291.           array, the array must contain a null wide-character. If an _llll _((((_eeee_llll_llll_))))
  292.           qualifier is present, the argument must be a pointer to an array of
  293.           type wchar_t. Wide characters from the array are written up to (but
  294.           not including) a terminating null wide-character. If no precision is
  295.           specified or is greater than the size of the array, the array must
  296.           contain a null wide-character. If a precision is specified, no more
  297.           than that many wide-characters are written. (A null pointer for _a_r_g
  298.           will yield undefined results.)
  299.  
  300.      _SSSS    The _a_r_g is taken to be a pointer to an array of wide characters
  301.           (_wwww_cccc_hhhh_aaaa_rrrr______tttt).  Each character from the array is converted to a multi-
  302.           byte sequence and the resulting byte(s) are written.  Conversion
  303.           stops when there is a null wide character in the array.  If a
  304.           precision is specified, no more than that many characters are
  305.           written.  If a precision is not specified or is greater than the
  306.           size of the array, the array must contain a terminating null
  307.           character.  (A null pointer for _a_r_g will yield undefined results.)
  308.  
  309.      _pppp    The _a_r_g is taken to be a pointer to _vvvv_oooo_iiii_dddd.  The value of the pointer
  310.           is converted to an implementation-defined sequence of printable
  311.           characters, which matches those read by the _%%%%_pppp conversion of the
  312.           _wwww_ssss_cccc_aaaa_nnnn_ffff function.
  313.  
  314.      _nnnn    The _a_r_g is taken to be a pointer to an integer into which is written
  315.           the number of characters written so far by this call to _ffff_wwww_pppp_rrrr_iiii_nnnn_tttt_ffff,
  316.           _wwww_pppp_rrrr_iiii_nnnn_tttt_ffff, or _ssss_wwww_pppp_rrrr_iiii_nnnn_tttt_ffff.  No argument is converted.
  317.  
  318.      _%%%%    Print a _%%%%; no argument is converted.  The complete specification
  319.           must be simply _%%%%_%%%%.
  320.  
  321.  
  322.  
  323.  
  324.                                                                         PPPPaaaaggggeeee 5555
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331. ffffwwwwpppprrrriiiinnnnttttffff((((3333SSSS))))                                                      ffffwwwwpppprrrriiiinnnnttttffff((((3333SSSS))))
  332.  
  333.  
  334.  
  335.      If the form of the conversion specification does not match any of the
  336.      above, the results of the conversion are undefined.  Similarly, the
  337.      results are undefined if there are insufficient _a_r_g_s for the format.  If
  338.      the format is exhausted while _a_r_g_s remain, the excess _a_r_g_s are ignored.
  339.  
  340.      If a floating-point value is the internal representation for infinity,
  341.      the output is [+_]_i_n_f, where _i_n_f is either _iiii_nnnn_ffff or _IIII_NNNN_FFFF, depending on
  342.      whether the conversion character is lowercase or uppercase.  Printing of
  343.      the sign follows the rules described above.
  344.  
  345.      If a floating-point value is the internal representation for ``not-a-
  346.      number,'' the output is [+_]_n_a_n_0000_x_m.  Depending on the conversion
  347.      character, _n_a_n is either _nnnn_aaaa_nnnn or _NNNN_AAAA_NNNN.  Additionally, _0000_x_m represents the
  348.      most significant part of the mantissa.  Again depending on the conversion
  349.      character, _x will be _xxxx or _XXXX, and _m will use the letters _aaaa_bbbb_cccc_dddd_eeee_ffff or _AAAA_BBBB_CCCC_DDDD_EEEE_FFFF.
  350.      Printing of the sign follows the rules described above.
  351.  
  352.      In no case does a nonexistent or small field width cause truncation of a
  353.      field; if the result of a conversion is wider than the field width, the
  354.      field is expanded to contain the conversion result.  Characters generated
  355.      by _wwww_pppp_rrrr_iiii_nnnn_tttt_ffff and _ffff_wwww_pppp_rrrr_iiii_nnnn_tttt_ffff are printed as if the _wwww_pppp_uuuu_tttt_cccc routine had been
  356.      called repeatedly.
  357.  
  358. EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  359.      To print a date and time in the form ``Sunday, July 3, 10:02,'' where
  360.      _wwww_eeee_eeee_kkkk_dddd_aaaa_yyyy and _mmmm_oooo_nnnn_tttt_hhhh are pointers to null-terminated strings:
  361.  
  362.           _wwww_pppp_rrrr_iiii_nnnn_tttt_ffff_((((_LLLL_""""_%%%%_ssss_,,,, _%%%%_ssss _%%%%_dddd_,,,, _%%%%_dddd_::::_%%%%_...._2222_dddd_""""_,,,,
  363.                   _wwww_eeee_eeee_kkkk_dddd_aaaa_yyyy_,,,, _mmmm_oooo_nnnn_tttt_hhhh_,,,, _dddd_aaaa_yyyy_,,,, _hhhh_oooo_uuuu_rrrr_,,,, _mmmm_iiii_nnnn_))))_;;;;
  364.  
  365.      To print the language-independent date and time format, the following
  366.      statement could be used:
  367.  
  368.           _wwww_pppp_rrrr_iiii_nnnn_tttt_ffff _((((_ffff_oooo_rrrr_mmmm_aaaa_tttt_,,,, _wwww_eeee_eeee_kkkk_dddd_aaaa_yyyy_,,,, _mmmm_oooo_nnnn_tttt_hhhh_,,,, _dddd_aaaa_yyyy_,,,, _hhhh_oooo_uuuu_rrrr_,,,, _mmmm_iiii_nnnn_))))_;;;;
  369.  
  370.      For American usage, format could be a pointer to the wide-character
  371.      string:
  372.  
  373.           _LLLL_""""_%%%%_ssss_,,,, _%%%%_ssss _%%%%_dddd_,,,, _%%%%_dddd_::::_%%%%_...._2222_dddd_""""
  374.  
  375.      producing the message:
  376.  
  377.           _SSSS_uuuu_nnnn_dddd_aaaa_yyyy_,,,, _JJJJ_uuuu_llll_yyyy _3333_,,,, _1111_0000_::::_0000_2222
  378.  
  379.      whereas for German usage, format could be a pointer to the wide-character
  380.      string:
  381.  
  382.           _LLLL_""""_%%%%_1111_$$$$_ssss_,,,, _%%%%_3333_$$$$_dddd_.... _%%%%_2222_$$$$_ssss_,,,, _%%%%_4444_$$$$_dddd_::::_%%%%_5555_$$$$_...._2222_dddd_""""
  383.  
  384.      producing the message:
  385.  
  386.  
  387.  
  388.  
  389.  
  390.                                                                         PPPPaaaaggggeeee 6666
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397. ffffwwwwpppprrrriiiinnnnttttffff((((3333SSSS))))                                                      ffffwwwwpppprrrriiiinnnnttttffff((((3333SSSS))))
  398.  
  399.  
  400.  
  401.           _SSSS_oooo_nnnn_nnnn_tttt_aaaa_gggg_,,,, _3333_.... _JJJJ_uuuu_llll_iiii_,,,, _1111_0000_::::_0000_2222
  402.  
  403. NNNNOOOOTTTTEEEESSSS
  404.      These functions are supported in n32 and 64 bit C Libraries for IRIX
  405.      6.5.17 and later versions.
  406.  
  407. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  408.      _bbbb_tttt_oooo_wwww_cccc(3S), _ffff_pppp_uuuu_tttt_wwww_cccc(3S), _ffff_wwww_ssss_cccc_aaaa_nnnn_ffff(3S), _ssss_eeee_tttt_llll_oooo_cccc_aaaa_llll_eeee(3C), _mmmm_bbbb_rrrr_tttt_oooo_wwww_cccc(3C),
  409.      _ssss_tttt_dddd_iiii_oooo(3S).
  410.  
  411. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  412.      _ffff_wwww_pppp_rrrr_iiii_nnnn_tttt_ffff, _wwww_pppp_rrrr_iiii_nnnn_tttt_ffff, and _ssss_wwww_pppp_rrrr_iiii_nnnn_tttt_ffff return the number of wide-characters
  413.      transmitted (not counting the terminating null character for _ssss_wwww_pppp_rrrr_iiii_nnnn_tttt_ffff),
  414.      or return a negative value if an error was encountered.  If _n or more
  415.      wide characters were requested to be written _ssss_wwww_pppp_rrrr_iiii_nnnn_tttt_ffff returns a negative
  416.      value.
  417.  
  418.      In addition, all forms of fwprintf() may fail if:
  419.  
  420.      [EILSEQ]
  421.           A wide-character code that does not correspond to a valid
  422.           character has been detected.
  423.      [EINVAL]
  424.           There are insufficient arguments.
  425.  
  426.      In addition, wprintf() and fwprintf() may fail if:
  427.  
  428.      [ENOMEM]
  429.           Insufficient storage space is available.
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.                                                                         PPPPaaaaggggeeee 7777
  457.  
  458.  
  459.  
  460.